package cn.graydove.bot.repository;

import cn.graydove.bot.model.entity.Account;
import org.springframework.data.jpa.repository.JpaRepository;

public interface AccountRepository extends JpaRepository<Account, Integer> {

    Boolean existsByPhoneOrQqNumber(Long phone, Long qqNumber);
}
